]> dgit.raspbian.org Git - gnome-shell.git/commit
Add shell_write_string_to_stream()
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 12 May 2010 21:19:20 +0000 (17:19 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Fri, 21 May 2010 04:18:45 +0000 (00:18 -0400)
commite4e92a2b3869046bfa9f1b5a2648ee982ff3193c
tree3f4830abcd7e91a7b7983bcb566478a2b4162c36
parent023a274e41280e52d56af4a169a9b862e975d299
Add shell_write_string_to_stream()

Add a helper function to write a string as UTF-8 to a GOutputStream.
The signature of GOutputStream:

 gboolean g_output_stream_write_all (GOutputStream *stream,
                                     const void *buffer,
                                     gsize count,
                                     gsize *bytes_written,
                                     GCancellable *cancellable,
                                     GError **error);

Can't currently be handled by GJS.

https://bugzilla.gnome.org/show_bug.cgi?id=618189
src/shell-global.c
src/shell-global.h